package com.joysuch.wwyt.bp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述：检查记录-历史
 *
 * @author zhangcancan
 * @date 2023/6/8 13:28
 **/
@TableName(value = "wwyt_bp_investigate_record_his")
@Data
@EqualsAndHashCode(callSuper = true)
public class BpInvestigateRecordHis extends UserDataEntity implements Serializable {

    private static final long serialVersionUID = -5530654424750739133L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 检查计划Id
     */
    private Long checkPlanId;

    /**
     * 排查用户Id
     */
    private Long checkUserId;

    /**
     * 排查完成日期
     */
    private LocalDateTime checkFinishDate;

    /**
     * 异常总数
     */
    private Integer exceptionSum;

    /**
     * 异常处理状态
     */
    private String exceptionHandleStatus;

    /**
     * 备注
     */
    private String remark;

    /**
     * 检查结果
     */
    private String checkResult;

    /**
     * 数据来源类型
     */
    private String sourceType;

    /**
     * 签到位置
     */
    private String verifyLocation;

    /**
     * 签到方式:nfc，定位
     */
    private String verifyType;

    /**
     * 签到状态
     */
    private String verifyState;

    /**
     * 未检原因eg："超时未检"，"异常未检"
     */
    private String uncheckReason;

    /**
     * 责任部门
     */
    private Long dutyDepartId;

    /**
     * 任务表id
     */
    private Long taskId;

    /**
     * 参与人员Json
     */
    private String participants;
}
